//
//  NetRequst.h
//  CC_Weather
//
//  Created by rimi on 16/9/23.
//  Copyright © 2016年 cc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NetRequst : NSObject

+ (void)GET:(NSString *)url parameters:(NSString *)parameters success:(void(^)(id responseObject))successful fail:(void(^)(NSError *error))fail;

+ (void)POST:(NSString *)url parameters:(NSString *)parameters success:(void(^)(id responseObject))successful fail:(void(^)(NSError *error))fail;

+ (void)cheackTheNet:(void(^)(BOOL have))isnet;

+ (void)alert:(NSString *)string;
@end
